import { Module } from "@nestjs/common";
import { DeliveryService } from "./delivery.service";
import { DeliveryController } from "./delivery.controller";
import { TypeOrmModule } from "@nestjs/typeorm";
import { CompanyModule } from "src/modules/company/company.module";
import { Delivery } from "./delivery.entity";
import { UserModule } from "src/modules/user/user.module";
import { ClientModule } from "src/modules/client/client.module";

@Module({
  imports: [
    TypeOrmModule.forFeature([Delivery]),
    CompanyModule,
    UserModule,
    ClientModule,
  ],
  controllers: [DeliveryController],
  providers: [DeliveryService],
  exports: [DeliveryService],
})
export class DeliveryModule {}
